package com.jingdianjichi.subject.domin.convert;

import com.jingdianjichi.subject.domin.entity.SubjectLabelBO;
import com.jingdianjichi.subject.infra.basic.entity.SubjectLabel;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;


/**
 * @author 86156
 * @version 1.0
 * @date 2024-10-02 11:08
 */
@Mapper
public interface SubjectLabelConverter {

    SubjectLabelConverter instance = Mappers.getMapper(SubjectLabelConverter.class);

    SubjectLabel convertBoToLabel(SubjectLabelBO subjectLabelBO);

    SubjectLabelBO convertEntityToBo(SubjectLabel subjectLabel);

    List<SubjectLabelBO> convertLabelListToBoList(List<SubjectLabel> subjectLabels);
}

